package com.tanhua.model.mongo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//问卷表
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "testsoul")
public class TestSoul implements Serializable {

    private ObjectId id; //主键id ，问卷编号
    private String name;//问卷名称
    private String cover; //问卷封面
    private String level; //级别
    private Integer star; //星级
    private Integer isLock; //是否锁住（0解锁，1锁住）

}
